<?php
require_once("page.php");
//------------------------------------------------------------
// Set some values into the template engine
//------------------------------------------------------------
$eng->assign("PageTitle", "RadTemplate Engine");
$eng->assign("PageSubTitle", "Example 3 - Conditional Content");
$eng->assign("BoolAlwaysTrue", True);
$eng->assign("BoolAlwaysFalse", False);
$eng->assign("BoolRandom", (((rand(0, 20) % 2) == 1) ? True : False));

//------------------------------------------------------------
// Load the template and Generate Ouput
//------------------------------------------------------------
$eng->show("tpl/test03.html");
?>